using System;
using System.Collections.Generic;
using System.Text;
namespace Decision.BusinessLayer
{
	public class ECT_GROUP_LVL
	{

		#region InnerClass
		public enum ECT_GROUP_LVLFields
		{
			GROUP_LVL_ID,
			GROUP_LVL_NAME,
			GROUP_LVL_DESC
		}
		#endregion

		#region Data Members

			int _gROUP_LVL_ID;
			string _gROUP_LVL_NAME;
			string _gROUP_LVL_DESC;

		#endregion

		#region Properties

		public int  GROUP_LVL_ID
		{
			 get { return _gROUP_LVL_ID; }
			 set
			 {
				 if (_gROUP_LVL_ID != value)
				 {
					_gROUP_LVL_ID = value;
					 PropertyHasChanged("GROUP_LVL_ID");
				 }
			 }
		}

		public string  GROUP_LVL_NAME
		{
			 get { return _gROUP_LVL_NAME; }
			 set
			 {
				 if (_gROUP_LVL_NAME != value)
				 {
					_gROUP_LVL_NAME = value;
					 PropertyHasChanged("GROUP_LVL_NAME");
				 }
			 }
		}

		public string  GROUP_LVL_DESC
		{
			 get { return _gROUP_LVL_DESC; }
			 set
			 {
				 if (_gROUP_LVL_DESC != value)
				 {
					_gROUP_LVL_DESC = value;
					 PropertyHasChanged("GROUP_LVL_DESC");
				 }
			 }
		}


		#endregion

		#region not support PropertyChangeEvent

		protected virtual void PropertyHasChanged(string propertyName)
		{
			return;
		}

		#endregion
/********** not support Validation
		#region Validation

		internal override void AddValidationRules()
		{
			ValidationRules.AddRules(new Validation.ValidateRuleNotNull("GROUP_LVL_ID", "GROUP_LVL_ID"));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("GROUP_LVL_NAME", "GROUP_LVL_NAME",2147483647));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("GROUP_LVL_DESC", "GROUP_LVL_DESC",2147483647));
		}

		#endregion
********/

	}
}
